package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.dto.AddNoteDto;
import com.tianji.learning.domain.po.LearningNote;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.query.NotePageQuery;
import com.tianji.learning.domain.vo.NoteVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 */
public interface ILearningNoteService extends IService<LearningNote> {

    void saveLearningNote(AddNoteDto dto);

    void gatherNote(Long id);

    void cancelGatherNote(Long id);

    PageDTO<LearningNote> pageQuery(NotePageQuery query);

    NoteVO selectById(Long id);
    PageDTO getNotePage(NotePageQuery query);
}
